English
Retrieves metrics for a specific placement identified by the query.
cURL
curl --request POST \ --url https://your_a2_service/metric/placements \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "from_datetime": "2023-11-07T05:31:56Z", "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "to_datetime": "2023-11-07T05:31:56Z" }'
{ "active_campaigns": 0, "ad_revenue": 123, "budget_spent": 0, "click": 0, "conversion": 0, "ecpm": 0, "id": 123, "impression": 0, "reach": 0, "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
The access token received from the authorization server in the OAuth 2.0 flow.
Query model for retrieving placement metrics.
Successful Response
Schema for placement metric entity.
Was this page helpful?